:root {
  --paper: #f7f3ec;
  --paper-deep: #eee5d8;
  --ink: #241d17;
  --muted: #75695d;
  --line: rgba(36, 29, 23, 0.14);
  --cream: #fffaf1;
  --stone: #d8c8b6;
  --charcoal: #17120e;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(48, 37, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(23, 18, 14, 0.12);
  border-bottom: 1px solid rgba(255, 250, 241, 0.16);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.86);
  border-bottom-color: rgba(36, 29, 23, 0.08);
  color: var(--ink);
}

.brand,
.site-header nav {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
}

.site-header:not(.is-scrolled) {
  color: var(--cream);
}

.brand-mark {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.site-header nav {
  color: inherit;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.site-header nav a {
  padding: 10px 6px;
}

.cart-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 7px;
  letter-spacing: 0.08em;
  min-height: 34px;
  padding: 0 10px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.cart-toggle span {
  border-left: 1px solid currentColor;
  font-variant-numeric: tabular-nums;
  padding-left: 7px;
}

.site-header:not(.is-scrolled) .cart-toggle:hover {
  background: var(--cream);
  color: var(--ink);
}

.site-header.is-scrolled .cart-toggle:hover {
  background: var(--ink);
  color: var(--cream);
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(23, 18, 14, 0.64), rgba(23, 18, 14, 0.16) 52%, rgba(23, 18, 14, 0));
  content: "";
  inset: 0;
  position: absolute;
}

.hero img {
  height: 100svh;
  object-fit: cover;
  width: 100%;
}

.hero-copy {
  bottom: clamp(42px, 12vh, 120px);
  color: var(--cream);
  left: clamp(22px, 6vw, 84px);
  max-width: 590px;
  position: absolute;
  right: 22px;
  z-index: 1;
}

.eyebrow {
  color: currentColor;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.8rem, 10vw, 8.7rem);
  line-height: 0.88;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
  margin-bottom: 20px;
}

h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.hero-copy p:not(.eyebrow) {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  max-width: 470px;
}

.hero-details {
  font-size: 0.75rem !important;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  opacity: 0.84;
  text-transform: uppercase;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.light {
  background: var(--cream);
  color: var(--ink);
}

.button.dark {
  background: var(--charcoal);
  color: var(--cream);
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.intro,
.product-section,
.process {
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 56px);
}

#candles,
#diffusers,
#care,
#contact {
  scroll-margin-top: 72px;
}

.intro {
  margin: 0 auto;
  max-width: 1160px;
}

.intro .eyebrow,
.section-heading .eyebrow {
  color: var(--muted);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 720px;
}

.brand-story {
  background: var(--paper-deep);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.brand-story > img {
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  width: 100%;
}

.brand-story-copy {
  align-self: center;
  padding: clamp(64px, 9vw, 130px) clamp(28px, 7vw, 112px);
}

.brand-story-copy .eyebrow {
  color: var(--muted);
}

.brand-story-copy > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
}

.text-link {
  border-bottom: 1px solid currentColor;
  display: inline-block;
  font-size: 0.84rem;
  margin-top: 12px;
  padding-bottom: 5px;
  text-transform: uppercase;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.product-slider {
  position: relative;
}

.slider-viewport {
  -ms-overflow-style: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.slider-viewport::-webkit-scrollbar {
  display: none;
}

.gallery {
  display: flex;
  gap: 18px;
  padding: 8px 18px 22px;
  width: max-content;
}

.product-card {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  flex: 0 0 clamp(220px, 26vw, 340px);
  margin: 0;
  opacity: 0.42;
  padding: 0;
  scroll-snap-align: center;
  text-align: left;
  transition: opacity 260ms ease;
  width: 100%;
}

.product-card figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.product-card figure::after {
  align-items: center;
  background: rgba(23, 18, 14, 0.45);
  color: var(--cream);
  content: "View candle";
  display: flex;
  font-size: 0.72rem;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.12em;
  opacity: 0;
  position: absolute;
  text-transform: uppercase;
  transition: opacity 240ms ease;
}

.product-card img {
  border-radius: var(--radius);
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-card:hover figure::after,
.product-card:focus-visible figure::after {
  opacity: 1;
}

.product-card.active {
  opacity: 1;
}

.product-card.active strong {
  color: var(--ink);
}

.product-card.sold-out figure::before {
  background: rgba(36, 29, 23, 0.72);
  color: var(--cream);
  content: "Sold out";
  font-size: 0.72rem;
  inset: 0;
  letter-spacing: 0.12em;
  padding-top: 20px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  z-index: 1;
}

.product-card.sold-out figure::after {
  display: none;
}

.product-card.sold-out img {
  filter: saturate(0.7);
}

.product-card.sold-out .product-price {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

.product-card figcaption {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 2px 8px;
}

.slider-control {
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 1.35rem;
  height: 46px;
  justify-content: center;
  position: absolute;
  top: min(46%, 250px);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 46px;
  z-index: 2;
}

.slider-control:hover {
  background: var(--charcoal);
  color: var(--cream);
  transform: translateY(-1px);
}

.slider-previous {
  left: 18px;
}

.slider-next {
  right: 18px;
}

.product-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.product-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.diffuser-section {
  background: var(--paper-deep);
}

.diffuser-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.diffuser-gallery .product-card {
  flex-basis: auto;
  opacity: 1;
}

.diffuser-gallery .product-card figure::after {
  content: "View diffuser";
}

.intro,
.brand-story,
.product-section,
.process,
.candle-care,
.contact-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}

label {
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

select,
input {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  padding: 12px;
  resize: vertical;
}

output {
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  padding-top: 18px;
}

.process {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.process article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.process span {
  color: var(--muted);
  display: block;
  margin-bottom: 42px;
}

.process p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.candle-care {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(32px, 7vw, 112px);
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 56px);
}

.care-heading .eyebrow {
  color: var(--muted);
}

.care-list {
  display: grid;
  gap: 0 24px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

.care-list li {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 30px 1fr;
  padding: 20px 0 24px;
}

.care-list span {
  color: var(--muted);
  font-size: 0.76rem;
}

.care-list p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0;
}

.contact-section {
  background: var(--paper-deep);
  display: grid;
  gap: clamp(32px, 7vw, 112px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  padding: clamp(70px, 10vw, 132px) clamp(18px, 4vw, 56px);
}

.contact-intro .eyebrow {
  color: var(--muted);
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
  max-width: 390px;
}

.contact-form {
  align-content: start;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.contact-message,
.contact-form .button,
.contact-status {
  grid-column: 1 / -1;
}

.contact-form textarea {
  min-height: 126px;
}

.math-check {
  grid-template-columns: minmax(0, 1fr) 94px;
}

.math-check input {
  width: 94px;
}

.honeypot {
  display: none;
}

.contact-form .button {
  border-radius: 2px;
}

.contact-status {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  min-height: 1.5em;
}

.drawer,
.scrim {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 220ms ease, transform 220ms ease;
}

.scrim {
  background: rgba(23, 18, 14, 0.34);
  inset: 0;
  z-index: 30;
}

.drawer {
  background: var(--paper);
  border-radius: var(--radius) 0 0 var(--radius);
  bottom: 0;
  box-shadow: var(--shadow);
  max-width: 980px;
  overflow: auto;
  right: 0;
  top: 0;
  transform: translateX(24px);
  width: min(92vw, 980px);
  z-index: 40;
}

.drawer.open,
.scrim.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.drawer-close {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  height: 42px;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  z-index: 1;
}

.drawer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  min-height: 100%;
}

.drawer-grid > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.drawer-copy {
  align-self: center;
  padding: 72px clamp(24px, 5vw, 58px);
}

.cart-drawer {
  max-width: 480px;
  width: min(92vw, 480px);
}

.cart-copy {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 72px clamp(24px, 5vw, 46px) 34px;
}

.cart-copy .eyebrow {
  color: var(--muted);
}

.cart-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  margin-bottom: 0;
}

.cart-items {
  border-top: 1px solid var(--line);
  margin: 28px 0 0;
}

.cart-item {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 60px minmax(0, 1fr);
  padding: 18px 0;
}

.cart-item img {
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  object-fit: cover;
  width: 60px;
}

.cart-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  margin: 2px 0 4px;
}

.cart-item p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.cart-item-actions {
  align-items: center;
  display: flex;
  grid-column: 2;
  justify-content: space-between;
  margin-top: -2px;
}

.quantity-stepper {
  align-items: center;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 30px 28px;
  height: 30px;
  text-align: center;
}

.quantity-stepper button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0;
}

.quantity-stepper span {
  align-self: center;
  border-inline: 1px solid var(--line);
  font-size: 0.82rem;
}

.cart-item-actions .cart-remove {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0;
  text-transform: uppercase;
}

.cart-summary {
  display: grid;
  gap: 10px;
  margin: auto 0 20px;
  padding-top: 32px;
}

.cart-delivery-region {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.cart-delivery-region input {
  margin-top: 8px;
}

.cart-destination-note {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 10px 0 0;
}

.cart-destination-note a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.cart-summary p {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.cart-summary p:last-child {
  border-top: 1px solid var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin-top: 4px;
  padding-top: 16px;
}

.cart-copy .button {
  border-radius: 2px;
}

.cart-empty {
  color: var(--muted);
  line-height: 1.7;
  padding: 26px 0;
}

.drawer-copy .eyebrow {
  color: var(--muted);
}

.price {
  font-size: 1.2rem;
  margin-bottom: 26px;
}

.drawer-copy > p:not(.eyebrow, .price, .checkout-note, .drawer-shipping) {
  color: var(--muted);
  line-height: 1.75;
}

.notes {
  border-block: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
  padding: 22px 0;
}

.notes dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.notes dd {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  margin: 5px 0 0;
}

.quantity-control {
  margin-bottom: 16px;
}

.drawer-shipping,
.checkout-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 14px;
}

.toast {
  background: var(--charcoal);
  border-radius: 999px;
  bottom: 22px;
  color: var(--cream);
  left: 50%;
  opacity: 0;
  padding: 12px 18px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 16px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 60;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  background: var(--charcoal);
  color: var(--cream);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr) minmax(240px, 1fr);
  padding: 48px clamp(18px, 4vw, 56px) 30px;
}

.footer-brand {
  align-items: center;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  gap: 12px;
}

.footer-brand .brand-mark {
  border-color: rgba(255, 250, 241, 0.44);
}

.site-footer > p {
  color: rgba(255, 250, 241, 0.68);
  line-height: 1.7;
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
}

.site-footer nav a {
  border-bottom: 1px solid transparent;
  font-size: 0.78rem;
  padding-bottom: 4px;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  border-bottom-color: currentColor;
}

.site-footer .footer-legal {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 241, 0.15);
  font-size: 0.75rem;
}

.information-main {
  padding-top: 72px;
}

.information-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(86px, 13vw, 168px) clamp(18px, 8vw, 132px) clamp(64px, 9vw, 120px);
}

.information-hero .eyebrow,
.information-details .eyebrow {
  color: var(--muted);
}

.information-hero h1 {
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  line-height: 0.9;
  max-width: 760px;
}

.information-hero > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: 610px;
}

.information-details {
  display: grid;
  gap: clamp(36px, 8vw, 128px);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: clamp(70px, 10vw, 132px) clamp(18px, 8vw, 132px);
}

.information-details > div > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.information-list {
  margin: 0;
}

.information-list > div {
  border-top: 1px solid var(--line);
  padding: 20px 0 24px;
}

.information-list dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.information-list dd {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.admin-page {
  margin: 0 auto;
  max-width: 960px;
  padding: 42px clamp(18px, 5vw, 56px) 100px;
}

.admin-page > .brand {
  margin-bottom: 72px;
}

.admin-page > .eyebrow {
  color: var(--muted);
  margin-bottom: 14px;
}

.admin-page h1 {
  color: var(--ink);
  font-size: clamp(3.5rem, 9vw, 7rem);
}

.admin-token-form {
  display: grid;
  gap: 16px;
  max-width: 420px;
}

.admin-token-form .button {
  border-radius: 2px;
}

.admin-status,
.admin-empty {
  color: var(--muted);
  line-height: 1.6;
}

.admin-dashboard {
  margin-top: 72px;
}

.admin-section-heading {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
}

.admin-section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0;
}

.admin-section-heading button,
.admin-product button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  min-height: 36px;
  padding: 0 12px;
}

.admin-product {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 130px auto;
  padding: 14px 0;
}

.admin-product strong,
.admin-product span {
  display: block;
}

.admin-product span {
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.admin-product label {
  gap: 4px;
}

.admin-product input {
  min-height: 36px;
}

.admin-order {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 62px 84px 90px;
  padding: 14px 0;
}

.admin-order span {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-copy {
    bottom: 34px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(23, 18, 14, 0.7), rgba(23, 18, 14, 0.08) 72%);
  }

  .section-heading,
  .drawer-grid,
  .process,
  .brand-story,
  .candle-care,
  .contact-section,
  .information-details {
    grid-template-columns: 1fr;
  }

  .brand-story > img {
    min-height: 0;
    max-height: 640px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .gallery {
    gap: 14px;
  }

  .product-card {
    flex-basis: clamp(200px, 40vw, 300px);
  }

  .diffuser-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .drawer {
    border-radius: var(--radius) var(--radius) 0 0;
    height: 92svh;
    top: auto;
    transform: translateY(24px);
    width: 100%;
  }

  .drawer-grid > img {
    aspect-ratio: 1 / 0.9;
    height: auto;
  }

  .cart-drawer {
    width: 100%;
  }
}

@media (max-width: 560px) {
  #candles,
  #diffusers,
  #care,
  #contact {
    scroll-margin-top: 116px;
  }

  .site-header nav {
    gap: 4px;
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .cart-item img {
    width: 54px;
  }

  .cart-item-actions {
    grid-column: 2;
  }

  .site-header nav a {
    flex: 1;
    padding-inline: 0;
  }

  .cart-toggle {
    min-height: 30px;
    padding-inline: 8px;
  }

  h1 {
    font-size: 4rem;
  }

  .gallery {
    padding-bottom: 14px;
  }

  .product-card {
    flex-basis: min(76vw, 300px);
  }

  .diffuser-gallery {
    grid-template-columns: 1fr;
  }

  .slider-control {
    height: 40px;
    top: min(44%, 220px);
    width: 40px;
  }

  .slider-previous {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  .notes {
    grid-template-columns: 1fr;
  }

  .care-list,
  .site-footer,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-message,
  .contact-form .button,
  .contact-status {
    grid-column: auto;
  }

  .site-footer .footer-legal {
    grid-column: auto;
  }

  .admin-product,
  .admin-order {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
