/* Sippin Smilez — Nov 2026 additions (product details, farm-to-cup, Square checkout).
   Loaded after styles.css and uses its design tokens. */

/* Product cards: tasting notes + "About this coffee" */
.notes-label {
  display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-ink); font-weight: 600; margin-bottom: 2px;
}
.notes-help { font-size: .8rem; margin-left: 4px; white-space: nowrap; }

.about { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 14px; padding: 10px 0; }
.about summary {
  cursor: pointer; font-weight: 600; font-size: var(--step--1); color: var(--accent, var(--cherry));
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.about summary::-webkit-details-marker { display: none; }
.about summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
.about[open] summary::after { content: "−"; }
.about p { font-size: var(--step--1); color: var(--roast); margin: 10px 0; }
.about dl { margin: 0; display: grid; gap: 6px; font-size: var(--step--1); }
.about dl div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; }
.about dt { color: var(--muted); }
.about dd { margin: 0; }

/* Farm to cup */
.journey {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step;
}
.journey li {
  background: var(--bone); border-radius: var(--radius-l); padding: 24px 22px 20px;
  position: relative; counter-increment: step;
}
.journey li::before {
  content: counter(step); position: absolute; top: 16px; right: 18px;
  font: 600 var(--step-2)/1 var(--display); color: var(--gold);
}
.journey svg { width: 56px; height: 56px; margin-bottom: 14px; }
.journey h3 { font-size: var(--step-1); margin-bottom: .35em; }
.journey p { font-size: var(--step--1); color: var(--muted); margin: 0; }
.journey p strong { color: var(--roast); }

.explain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.explain { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; }
.explain h3 { font-size: var(--step-1); margin-bottom: .35em; }
.explain p { margin: 0; color: var(--roast); }
#tasting-notes { scroll-margin-top: 96px; }

@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .journey, .explain-grid { grid-template-columns: 1fr; }
}

/* Cart: Square note */
.pay-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 8px 0 0; }
.form-msg.err a { color: inherit; font-weight: 600; }

/* Thank-you bar after Square checkout */
.order-thanks { background: var(--emerald); color: var(--cream); padding: 14px 0; }
.order-thanks .wrap { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.order-thanks strong { font-family: var(--display); font-size: var(--step-1); }
.order-thanks span { flex: 1; min-width: 220px; }
.order-thanks .icon-btn { color: inherit; background: none; border: 0; font-size: 1.1rem; cursor: pointer; }

/* Photo row in "From farm to your cup" */
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0 0 40px; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); display: block; }
.photo-row figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .photo-row { grid-template-columns: 1fr; } }

/* ===== Accounts: header link, cart email, My orders page (Nov 2026) ===== */
.account-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--cherry); text-decoration: none;
  font: 600 var(--step--1) var(--body); padding: 8px 4px; white-space: nowrap;
}
.account-link:hover { color: var(--cherry-2); text-decoration: underline; }
@media (max-width: 760px) {
  .account-link { margin-left: auto; }
  .account-link + .cart-btn { margin-left: 0; }
}
@media (max-width: 420px) { .account-link span { display: none; } }

.cart-email { display: grid; gap: 6px; font-weight: 600; font-size: var(--step--1); margin: 0 0 12px; }
.cart-email input {
  width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line);
  border-radius: var(--radius-s); background: #fff; color: var(--roast);
}

/* My orders page */
.acct { min-height: 60vh; }
.acct-wrap { max-width: 860px; }
.acct h1 { font-size: var(--step-3); margin-bottom: .3em; }
.acct-lede { color: var(--muted); max-width: 56ch; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.acct-signin { margin-top: 24px; max-width: 560px; }
.acct-signin label { font-weight: 600; display: block; margin-bottom: 8px; }
.acct-signin input {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--roast);
}
.acct-help { margin-top: 20px; font-size: var(--step--1); color: var(--muted); }
.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.acct-who { color: var(--muted); margin: 0; }
.acct-shop { padding: 8px 16px; font-size: var(--step--1); }
@media (max-width: 760px) { .acct-shop { margin-left: auto; } }
.acct-empty { text-align: center; }
.acct-empty p { margin-inline: auto; color: var(--muted); }

.orders { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.o-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.o-top h2 { font-size: var(--step-2); margin: 0; }
.o-date { color: var(--muted); font-size: var(--step--1); margin: 2px 0 0; }
.badge { font: 600 .8rem var(--body); letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: var(--blush); color: var(--cherry); white-space: nowrap; }
.s-done .badge { background: #E4ECE6; color: var(--emerald); }
.s-preparing .badge { background: #F7EBD3; color: var(--gold-ink); }
.s-refunded .badge, .s-partial .badge, .s-canceled .badge { background: #ECEAEA; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 20px 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding-top: 26px; text-align: center; font-size: var(--step--1); color: var(--muted); }
.steps li::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done { color: var(--roast); font-weight: 600; }
.steps li.done::before { background: var(--emerald); }
.steps .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; }
.steps li.done .dot { background: var(--emerald); border-color: var(--emerald); }

.o-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
@media (max-width: 680px) { .o-grid { grid-template-columns: 1fr; } }
.o-items { list-style: none; padding: 0; margin: 0 0 12px; }
.o-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.o-items small { display: block; color: var(--muted); }
.o-totals { margin: 0; font-size: var(--step--1); }
.o-totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.o-totals dd { margin: 0; }
.o-totals .grand { font-weight: 600; font-size: var(--step-0); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.o-totals .refund { color: var(--emerald); font-weight: 600; }
.o-block { margin-bottom: 18px; }
.o-block h3 { font-family: var(--body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }
.o-block p { margin: 0 0 8px; font-size: var(--step--1); }
.o-addr { color: var(--muted); }
.btn-sm { padding: 9px 16px; font-size: var(--step--1); }
.o-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 14px; font-size: var(--step--1); }
.o-note { margin: 0; color: var(--gold-ink); font-weight: 500; }
.o-help { color: var(--muted); }
.link-btn { background: none; border: 0; padding: 0; color: var(--cherry-2); font: inherit; text-decoration: underline; cursor: pointer; }

.acct-dialog { border: 0; border-radius: var(--radius-l); padding: 0; width: min(520px, 92vw); }
.acct-dialog::backdrop { background: rgba(14, 21, 36, .6); }
.acct-refund { padding: 28px; display: grid; gap: 14px; }
.acct-refund h2 { font-size: var(--step-2); margin: 0; }
.acct-refund .hint { color: var(--muted); margin: 0; font-size: var(--step--1); }
.acct-refund label { display: grid; gap: 6px; font-weight: 600; }
.acct-refund textarea { width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); }
.acct-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Accounts: header link, cart email ---------- */
.account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--roast); text-decoration: none; font-weight: 500; font-size: var(--step--1); }
.account-link:hover { color: var(--cherry-2); }
@media (max-width: 760px) {
  .account-link { margin-left: auto; }
  .account-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .account-link + .cart-btn { margin-left: 0; }
}
.cart-email { display: grid; gap: 6px; font-size: var(--step--1); font-weight: 600; margin: 4px 0 12px; }
.cart-email input { width: 100%; font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--roast); }
.order-thanks a { color: inherit; font-weight: 600; }

/* ---------- My orders page ---------- */
.acct { min-height: 60vh; padding-top: 56px; }
.acct-wrap { max-width: 860px; }
.acct h1 { font-size: var(--step-3); }
.acct-lede { color: var(--muted); max-width: 56ch; }
.acct-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.acct-signin { display: grid; gap: 8px; max-width: 560px; }
.acct-signin label { font-weight: 600; }
.acct-signin input, .acct-refund textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff; color: var(--roast); box-sizing: border-box; }
.acct-help { font-size: var(--step--1); color: var(--muted); margin-top: 18px; }
.acct-shop { padding: 9px 16px; font-size: var(--step--1); }
@media (max-width: 760px) { .acct-shop { margin-left: auto; } }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.acct-head h1 { margin-bottom: 4px; }
.acct-who { color: var(--muted); margin: 0; }
.acct-head .btn { padding: 9px 16px; font-size: var(--step--1); }
.acct-empty h2 { font-size: var(--step-2); }

.orders { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.order { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; }
.o-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.o-top h2 { font-size: var(--step-2); margin: 0; }
.o-date { color: var(--muted); font-size: var(--step--1); margin: 2px 0 0; }
.badge { white-space: nowrap; font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--blush); color: var(--cherry); }
.s-done .badge { background: #E4ECE6; color: var(--emerald); }
.s-preparing .badge { background: var(--cream); color: var(--gold-ink); }
.s-refunded .badge, .s-partial .badge, .s-canceled .badge { background: #ECECEC; color: #4A4A4A; }

.steps { list-style: none; padding: 0; margin: 20px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; top: 7px; left: 16.6%; right: 16.6%; height: 2px; background: var(--line); }
.steps li { position: relative; text-align: center; font-size: var(--step--1); color: var(--muted); padding-top: 22px; }
.steps .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); box-sizing: border-box; }
.steps li.done { color: var(--roast); font-weight: 600; }
.steps li.done .dot { background: var(--cherry); border-color: var(--cherry); }

.o-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 18px; }
@media (max-width: 680px) { .o-grid { grid-template-columns: 1fr; gap: 18px; } }
.o-items { list-style: none; padding: 0; margin: 0 0 12px; }
.o-items li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.o-items small { display: block; color: var(--muted); font-size: .82rem; }
.o-totals { margin: 0; font-size: var(--step--1); }
.o-totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.o-totals dd { margin: 0; }
.o-totals .grand { font-weight: 600; font-size: var(--step-0); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; }
.o-totals .refund { color: var(--emerald); font-weight: 600; }
.o-side { display: grid; gap: 18px; align-content: start; }
.o-block h3 { font-family: var(--body); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 6px; }
.o-block p { margin: 0 0 8px; font-size: var(--step--1); }
.o-addr { color: var(--muted); }
.btn-sm { padding: 9px 16px; font-size: var(--step--1); }
.o-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: var(--step--1); }
.o-note { margin: 0; color: var(--gold-ink); font-weight: 500; }
.o-help { color: var(--muted); }
.link-btn { background: none; border: 0; padding: 6px 0; font: inherit; color: var(--cherry-2); text-decoration: underline; cursor: pointer; min-height: 44px; }

.acct-dialog { border: 0; border-radius: var(--radius-l); padding: 0; width: min(520px, 92vw); }
.acct-dialog::backdrop { background: rgba(14,21,36,.6); }
.acct-refund { display: grid; gap: 12px; padding: 26px; }
.acct-refund h2 { margin: 0; font-size: var(--step-2); }
.acct-refund label { display: grid; gap: 6px; font-weight: 600; }
.acct-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.acct-dialog-actions .btn { padding: 11px 18px; }

/* Product cards: quantity picker (Nov 16 2026) */
.pick-qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.pick-qty-label { font-size: var(--step--1); font-weight: 600; color: var(--roast); }
.qty-lg {
  display: inline-flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; overflow: hidden;
}
.qty-lg button {
  width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  font: 600 1.2rem/1 var(--body); color: var(--accent, var(--cherry));
}
.qty-lg button:hover:not(:disabled) { background: var(--tint, var(--blush)); }
.qty-lg button:disabled { color: var(--muted); opacity: .45; cursor: not-allowed; }
.qty-lg button:focus-visible, .qty-lg input:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.qty-lg input {
  width: 44px; height: 40px; border: 0; text-align: center; background: transparent;
  font: 600 1rem var(--body); color: var(--roast); -moz-appearance: textfield; appearance: textfield;
}
.qty-lg input::-webkit-outer-spin-button, .qty-lg input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .price .per { white-space: nowrap; }

/* Nov 17 2026 — "Ethical" emphasis + local Fort Wayne, Indiana business */
.hero-place { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.ethical-tag {
  display: inline-block; font: italic 600 1.35rem/1 var(--display); letter-spacing: .01em; text-transform: none;
  color: var(--cherry); background: var(--blush); border: 1px solid var(--gold);
  border-radius: 999px; padding: 6px 16px 7px;
}
.hero-local { display: inline-flex; align-items: center; gap: 6px; }
.hero-local::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Zm0-9.4a2.6 2.6 0 1 0 0-5.2 2.6 2.6 0 0 0 0 5.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Zm0-9.4a2.6 2.6 0 1 0 0-5.2 2.6 2.6 0 0 0 0 5.2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ethical-word { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--cherry); font-size: 1.12em; }

.values-band { background: var(--emerald); color: var(--cream); padding: 44px 0; }
.values-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; align-items: start; }
.value h3 { color: var(--cream); font-size: var(--step-1); margin: 0 0 .35em; }
.value p { margin: 0; color: var(--cream); opacity: .88; font-size: var(--step--1); }
.value svg { width: 30px; height: 30px; color: var(--gold); margin-bottom: 10px; }
.value-ethical { border-left: 3px solid var(--gold); padding-left: 22px; }
.value-title {
  font: italic 600 clamp(2.6rem, 6vw, 3.6rem)/1 var(--display); color: var(--gold);
  margin: 0 0 .2em; letter-spacing: .005em;
}
.value-ethical p { font-size: var(--step-0, 1rem); opacity: .95; }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr; gap: 24px; } }
