/* /shop/ — buy direct. Builds on styles.css + article.css. */
.sh > section, .sh > .sh-sec { max-width: 64rem; margin-inline: auto; }
.sh-head { max-width: 64rem; }
.sh-trust { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.sh-trust li { font-size: .9rem; color: var(--mute); display: flex; align-items: center; gap: .35rem; }
.sh-trust li::before { content: '✓'; color: var(--moss-d); font-weight: 800; }
.sh h2 { margin-top: 2.8rem; }
.sh h2 span { font: 400 .95rem var(--body); color: var(--mute); margin-left: .6rem; }

/* product grids */
.sh-grid { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-grid-sets { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .sh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sh-grid-sets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .sh-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sh-grid-sets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sh-card { min-width: 0; }
.sh-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .9rem .9rem 1rem; display: grid; gap: .4rem; align-content: start; }
.sh-card img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.sh-card-sets .sh-card img { aspect-ratio: auto; height: auto; object-fit: contain; box-shadow: none; background: var(--paper-2); }
.sh-n { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin: .3rem 0 0; }
.sh-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.2; }
.sh-card h3 i { font-style: normal; }
.sh-card p { margin: 0; font-size: .9rem !important; line-height: 1.45 !important; color: var(--mute); }
.sh-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; margin-top: .2rem; }
.sh-price b { font-family: var(--display); font-size: 1.3rem; }
.sh-price s { color: var(--mute); font-size: .9rem; }
.sh-price small { color: var(--moss-d); font-weight: 700; font-size: .85rem; }
.sh-add { margin-top: .35rem; display: flex; gap: .4rem; }
.sh-add .btn { flex: 1; min-height: 44px; padding-inline: .6rem; font-size: .95rem; }
.sh-card.is-in .btn-add { background: var(--moss-d); border-color: var(--moss-d); }
.sh-best { position: relative; }
.sh-best::before { content: 'Best value'; position: absolute; top: .7rem; left: .7rem; background: var(--yellow); color: var(--ink); font: 800 .72rem/1 var(--display); letter-spacing: .04em; padding: .4rem .6rem; border-radius: 999px; z-index: 1; }

/* how it works + shipping */
.sh-steps { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .9rem; counter-reset: s; }
@media (min-width: 760px) { .sh-steps { grid-template-columns: repeat(3, 1fr); } }
.sh-steps li { background: var(--paper-2); border-radius: var(--r); padding: 1rem 1.1rem 1rem 3.1rem; position: relative; font-size: 1rem !important; line-height: 1.5 !important; }
.sh-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 1rem; top: 1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--yellow); font: 800 .95rem/1.6rem var(--display); text-align: center; }
.sh-steps b { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: .15rem; }
.sh-ship { width: 100%; border-collapse: collapse; margin-top: 1rem; font-size: .98rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sh-ship th, .sh-ship td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.sh-ship thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); background: var(--paper-2); }
.sh-ship tbody tr:last-child > * { border-bottom: 0; }
.sh-ship td b { white-space: nowrap; }
.sh-ship small { display: block; color: var(--mute); font-size: .85rem; }
.sh-ship-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* the cart */
.sh-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--night); color: var(--night-ink); box-shadow: 0 -8px 30px rgba(43,38,35,.25); transform: translateY(110%); transition: transform .25s ease; }
.sh-bar.on { transform: none; }
.sh-bar-in { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.sh-bar-in b { font-family: var(--display); font-size: 1.1rem; }
.sh-bar-in span { color: var(--night-mute); font-size: .9rem; display: block; }
.sh-bar .btn { white-space: nowrap; }
body.sh-has-bar { padding-bottom: 5rem; }

.sh-cart { position: fixed; inset: 0; z-index: 70; display: none; }
.sh-cart.on { display: block; }
.sh-cart-bg { position: absolute; inset: 0; background: rgba(43,38,35,.5); }
.sh-cart-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); overflow-y: auto; padding: 1.2rem 1.25rem 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.sh-cart-head { display: flex; justify-content: space-between; align-items: center; }
.sh-cart-head h2 { margin: 0; font-size: 1.4rem; }
.sh-x { appearance: none; border: 0; background: var(--paper-2); width: 40px; height: 40px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
.sh-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.sh-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: .7rem; align-items: center; background: #fff; border-radius: 12px; padding: .5rem .6rem; }
.sh-lines img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.sh-lines b { font-size: .95rem; line-height: 1.2; display: block; }
.sh-lines small { color: var(--mute); }
.sh-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.sh-qty button { appearance: none; border: 0; background: none; width: 34px; height: 34px; font: 700 1.1rem var(--body); cursor: pointer; color: var(--ink); }
.sh-qty button:hover { background: var(--paper-2); }
.sh-qty output { min-width: 1.6rem; text-align: center; font-weight: 700; font-size: .95rem; }
.sh-empty { color: var(--mute); margin: 0; }
.sh-zone { display: grid; gap: .35rem; }
.sh-zone label { font-weight: 700; font-size: .95rem; }
.sh-zone select { font: 600 1rem var(--body); padding: .6rem .8rem; border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); }
.sh-zone small { color: var(--mute); font-size: .85rem; }
.sh-sum { display: grid; gap: .3rem; border-top: 1px solid var(--line); padding-top: .8rem; }
.sh-sum div { display: flex; justify-content: space-between; font-size: .98rem; }
.sh-sum .tot { font-family: var(--display); font-size: 1.25rem; margin-top: .2rem; }
.sh-sum .free { color: var(--moss-d); font-weight: 700; }
.sh-err { background: #FBE3DD; color: #7A2A1C; border-radius: 12px; padding: .7rem .9rem; font-size: .92rem; margin: 0; display: none; }
.sh-err.on { display: block; }
.sh-fine { font-size: .82rem !important; color: var(--mute); margin: 0; line-height: 1.5 !important; }
.sh-stripe { display: inline-flex; align-items: center; gap: .3rem; }

/* thank-you page */
.sh-thanks { max-width: 40rem; margin-inline: auto; text-align: center; padding: 1rem 0 2rem; }
.sh-thanks .sh-lines { text-align: left; margin-top: 1rem; }
.sh-thanks h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.sh-thanks .big { font-size: 4rem; line-height: 1; margin: 0 0 .5rem; }
.sh-share { margin-top: 2rem; }
.nowrap { white-space: nowrap; }
