/* ---------- A Little Chaos: shared look (same on every page) ---------- */
.alc { --paper:#FDF9F0; --white:#FFFFFF; --ink:#422443; --ink2:#5B4459; --muted:#6F5C6C;
  --coral:#F76557; --purple:#926ACA; --yellow:#FFC32A; --teal:#26A2AA;
  --dot:#B482BD; --pip:#F96595; --spark:#FEC91E; --bloop:#00A6A6;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--paper);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; width: 100%; }
.alc *, .alc *::before, .alc *::after { box-sizing: border-box; }
.alc h1, .alc h2, .alc h3, .alc h4, .alc p, .alc ul, .alc ol, .alc figure, .alc dl, .alc dd { margin: 0; padding: 0; }
.alc a { color: inherit; }
.alc img { max-width: 100%; }
.alc :focus-visible { outline: 3px solid var(--bloop); outline-offset: 3px; border-radius: 8px; }
.alc .w { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.alc .narrow { max-width: 780px; }

.alc h1, .alc h2, .alc .disp { font-family: "Bricolage Grotesque", "DM Sans", sans-serif; font-weight: 800; font-stretch: 78%;
  letter-spacing: -0.02em; line-height: 0.95; color: var(--ink); text-transform: none; }
.alc h1 { font-size: clamp(44px, 7.2vw, 92px); }
.alc h2 { font-size: clamp(34px, 4.6vw, 60px); }
.alc h3 { font-family: "Bricolage Grotesque", "DM Sans", sans-serif; font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.1; color: var(--ink); letter-spacing: -0.01em; }
.alc h4 { font-weight: 700; font-size: 17px; color: var(--ink); }
.alc p { color: var(--ink2); }
.alc .lede { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; max-width: 54ch; }
.alc .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.alc .sec { padding: clamp(56px, 8vw, 96px) 0; }
.alc .sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.alc .sec-head p { max-width: 46ch; }

/* buttons */
.alc .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 14px;
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
  box-shadow: 4px 4px 0 var(--coral); transition: transform .15s ease, box-shadow .15s ease; }
.alc .btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 var(--coral); }
.alc .btn-ghost { background: transparent; box-shadow: none; }
.alc .btn-ghost:hover { background: var(--white); box-shadow: none; }
.alc .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* bits of mess */
.alc .sticker { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.2;
  padding: 8px 14px; border-radius: 999px; transform: rotate(-3deg); }
.alc .pill { display: inline-block; font-weight: 700; font-size: 13px; line-height: 1.2; padding: 6px 12px; border-radius: 999px; color: var(--ink); }
.alc .bg-dot { background: var(--dot); } .alc .bg-pip { background: var(--pip); } .alc .bg-spark { background: var(--spark); } .alc .bg-bloop { background: var(--bloop); }
.alc .scrib { position: relative; display: inline-block; white-space: nowrap; }
.alc .scrib svg { position: absolute; left: 0; bottom: -0.16em; width: 100%; height: 0.24em; overflow: visible; }
.alc .card { background: var(--white); border: 2px solid var(--ink); border-radius: 24px; }
.alc .img { display: block; background: center / contain no-repeat; }
.alc .ratio-dot { aspect-ratio: 220 / 143; } .alc .ratio-pip { aspect-ratio: 208 / 220; } .alc .ratio-spark { aspect-ratio: 220 / 217; } .alc .ratio-bloop { aspect-ratio: 220 / 202; }

/* header */
.alc-head { background: var(--paper); }
.alc-head .w { display: flex; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.alc-logo { display: inline-block; text-decoration: none; line-height: 0; }
.alc-logo-img { display: block; height: 92px; aspect-ratio: 1503 / 699; background: center / contain no-repeat; }
.alc-foot .alc-logo-img { height: 110px; }
.alc-nav { display: flex; align-items: center; gap: 6px 26px; flex-wrap: wrap; font-weight: 500; font-size: 17px; }
.alc-nav a { text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.alc-nav a:hover, .alc-nav a[aria-current="page"] { border-bottom-color: var(--coral); }
.alc-nav .alc-nav-shop { background: var(--yellow); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 18px; font-weight: 700; }
.alc-nav .alc-nav-shop:hover, .alc-nav .alc-nav-shop[aria-current="page"] { border-bottom-color: var(--ink); background: var(--white); }
.alc-nav .alc-nav-switch { font-size: 14px; font-weight: 700; color: var(--muted); }

/* footer */
.alc-foot { background: var(--white); border-top: 2px solid var(--ink); padding: 48px 0 40px; }
.alc-foot .w { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.alc-foot p { font-size: 15px; margin-top: 8px; max-width: 34ch; }
.alc-foot h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.alc-foot ul { list-style: none; display: grid; gap: 6px; }
.alc-foot a { font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; }
.alc-foot a:hover { border-bottom-color: var(--coral); }
.alc-foot small { grid-column: 1 / -1; display: block; padding-top: 24px; border-top: 1px solid #E4DCCD; color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
  .alc { font-size: 16px; }
  .alc-logo-img { height: 72px; }
  .alc-head .w { justify-content: center; }
  .alc-nav { justify-content: center; gap: 4px 18px; font-size: 16px; }
  .alc-foot .w { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .alc * { transition: none !important; } }

/* ---------- A Little Chaos website: extras on top of base.css ---------- */
html { background: #FDF9F0; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
body > main { flex: 1; }
html.alc-lock { overflow: hidden; }
.alc .i-dot { background-image: url(img/dot.webp); } .alc .i-pip { background-image: url(img/pip.webp); }
.alc .i-spark { background-image: url(img/spark.webp); } .alc .i-bloop { background-image: url(img/bloop.webp); }
.alc .alc-logo-img { background-image: url(img/logo.webp); }
.alc [hidden] { display: none !important; }

/* announcement + header */
.alc-announce { background: var(--ink); color: var(--paper); text-align: center; font-weight: 700; font-size: 14px; padding: 8px 16px; letter-spacing: .02em; }
.alc-head { position: sticky; top: 0; z-index: 20; border-bottom: 2px solid transparent; }
.alc-head .w { padding-top: 12px; padding-bottom: 12px; flex-wrap: nowrap; }
.alc-head .alc-logo-img { height: 72px; }
.alc-nav { flex-wrap: nowrap; }
.alc-cart-btn { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 14px; cursor: pointer; }
.alc-cart-btn:hover { background: var(--yellow); }
.alc-cart-btn svg { width: 20px; height: 20px; }
.alc-cart-btn [data-cart-count] { background: var(--coral); color: var(--white); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; font-size: 13px; display: inline-grid; place-items: center; }
.alc-menu-btn { display: none; }
@media (max-width: 900px) {
  .alc-head .w { flex-wrap: wrap; justify-content: space-between; }
  .alc-head .alc-logo-img { height: 56px; }
  .alc-menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white); cursor: pointer; }
  .alc-menu-btn svg { width: 22px; height: 22px; }
  .alc-head-r { display: flex; gap: 8px; align-items: center; }
  .alc-nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; }
  .alc-nav.open { display: flex; }
  .alc-nav a { padding: 12px 4px; border-bottom: 1px solid #E8DFD0; font-size: 18px; }
  .alc-nav .alc-nav-shop { text-align: center; margin-top: 10px; }
}
@media (min-width: 901px) { .alc-head-r { display: flex; align-items: center; gap: 18px; } }

/* product grid + cards */
.alc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.alc-pcard { display: flex; flex-direction: column; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.alc-pcard:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 6px 8px 0 var(--c); }
.alc-pcard-link { display: block; line-height: 0; border-bottom: 2px solid var(--ink); }
.alc-pimg { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--paper); overflow: hidden; }
.alc-pimg img { width: 100%; height: 100%; object-fit: cover; }
.alc-ph { background: var(--c); }
.alc-ph svg { position: absolute; width: 92%; height: 92%; }
.alc-ph .img { position: relative; width: 52%; transform: rotate(-6deg); filter: drop-shadow(4px 6px 0 rgba(66, 36, 67, .25)); }
.alc-ph em { position: absolute; bottom: 12px; left: 12px; font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.2; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; }
.alc-pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.alc-pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.alc-xpill { background: var(--coral); color: var(--white); }
.alc-pcard h3 { font-size: 22px; }
.alc-pcard h3 a { text-decoration: none; }
.alc-pcard p { font-size: 15px; line-height: 1.4; }
.alc-pcard-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.alc-pcard-foot b { font-size: 20px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; }
.alc .alc-sm { min-height: 42px; padding: 8px 16px; font-size: 15px; border-radius: 12px; box-shadow: 3px 3px 0 var(--coral); cursor: pointer; font-family: inherit; }
.alc .btn-ghost.alc-sm { box-shadow: none; }
.alc button.btn { font-family: inherit; cursor: pointer; }
.alc-sold { font-weight: 700; color: var(--muted); }
.alc-empty { text-align: center; padding: 48px 16px; color: var(--muted); grid-column: 1 / -1; }

/* shop filters */
.alc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; align-items: center; }
.alc-filters button { font: inherit; font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; }
.alc-filters button[data-filter="1"] { background: var(--dot); } .alc-filters button[data-filter="2"] { background: var(--pip); }
.alc-filters button[data-filter="3"] { background: var(--spark); } .alc-filters button[data-filter="4"] { background: var(--bloop); }
.alc-filters button[data-filter="christmas"] { background: var(--coral); color: var(--white); }
.alc-filters button[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); outline: 2px solid var(--ink); }

/* product page */
.alc-crumbs { font-size: 14px; color: var(--muted); margin: 8px 0 18px; }
.alc-crumbs a { color: var(--muted); }
.alc-prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.alc-gallery { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 12px; }
.alc-main { overflow: hidden; line-height: 0; }
.alc-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.alc-thumbs button { width: 72px; height: 72px; padding: 0; border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--white); }
.alc-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.alc-pinfo { display: flex; flex-direction: column; gap: 16px; }
.alc-pinfo h1 { font-size: clamp(40px, 5vw, 64px); }
.alc-price { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 32px; color: var(--ink) !important; line-height: 1; }
.alc-buy { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 20px; }
.alc-field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.alc-field i { font-weight: 500; color: var(--muted); }
.alc-field input, .alc-field select { font: inherit; font-weight: 500; font-size: 16px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%; }
.alc-qtyrow { display: flex; gap: 12px; align-items: flex-end; }
.alc-qty { width: 110px; flex: 0 0 auto; }
.alc-qtyrow .btn { flex: 1; }
.alc-made { font-size: 14px; }
.alc-box { border-top: 1px solid #E4DCCD; padding-top: 14px; }
.alc-box h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.alc-box ul { padding-left: 20px; color: var(--ink2); display: grid; gap: 4px; }
.alc-safe p { font-size: 15px; }
@media (max-width: 860px) { .alc-prod { grid-template-columns: 1fr; } .alc-gallery { position: static; } }

/* cart drawer */
.alc-scrim { position: fixed; inset: 0; background: rgba(66, 36, 67, .45); z-index: 40; }
.alc-cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); border-left: 2px solid var(--ink); z-index: 41; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .25s ease; visibility: hidden; outline: none; }
.alc-cart.open { transform: none; visibility: visible; }
.alc-cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 2px solid var(--ink); background: var(--white); }
.alc-cart-head h2 { font-size: 32px; }
.alc-x { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.alc-cart-body { overflow-y: auto; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.alc-cart-body > * { flex-shrink: 0; }
.alc-cart-empty { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; padding-top: 40px; }
.alc-cart-empty .img { width: 120px; }
.alc-lines { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.alc-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: start; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 10px; }
.alc-lines small { display: block; color: var(--ink2); font-size: 13px; line-height: 1.4; margin-top: 2px; }
.alc-lthumb { width: 64px; height: 64px; border-radius: 12px; background: var(--c); display: grid; place-items: center; overflow: hidden; }
.alc-lthumb img { width: 100%; height: 100%; object-fit: cover; }
.alc-lthumb .img { width: 44px; }
.alc-step { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.alc-step button { font: inherit; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); cursor: pointer; font-weight: 700; color: var(--ink); line-height: 1; }
.alc-step .alc-rm { width: auto; border: 0; background: none; text-decoration: underline; font-size: 13px; font-weight: 500; margin-left: 4px; }
.alc-choice { border: 2px solid var(--ink); border-radius: 16px; padding: 10px 14px 12px; margin: 0; background: var(--white); }
.alc-choice legend { font-weight: 700; padding: 0 6px; }
.alc-choice label { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.alc-choice input { width: 20px; height: 20px; accent-color: var(--purple); flex: 0 0 auto; }
.alc-choice span { flex: 1; }
.alc-choice i { font-style: normal; font-weight: 700; }
.alc-sum { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; }
.alc-sum dd { margin: 0; text-align: right; font-weight: 700; }
.alc-sum .alc-total { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 26px; border-top: 2px solid var(--ink); padding-top: 8px; margin-top: 4px; }
.alc-err { color: #B3261E !important; font-weight: 700; font-size: 15px; min-height: 0; }
.alc-err:empty { display: none; }
.alc .alc-pay { width: 100%; }
.alc .alc-pay[disabled] { opacity: .6; cursor: wait; }
.alc-fine { font-size: 13px; text-align: center; }

@media (max-width: 760px) { .alc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .alc-pcard h3 { font-size: 18px; } .alc-pcard-body { padding: 12px; } .alc-pcard-foot { flex-direction: column; align-items: stretch; } .alc-pcard p { display: none; } }
@media (max-width: 380px) { .alc-grid { grid-template-columns: 1fr; } }

.alc-panel li a { text-decoration: none; border-bottom: 2px solid transparent; } .alc-panel li a:hover { border-bottom-color: var(--coral); }
