/*
 * The "classic" storefront theme.
 *
 * One file, no build step, no framework — a redesign is a new theme folder
 * and a new stylesheet beside this one. Nothing in app/ knows it exists.
 */

:root {
    --sh-green: #1E5E4E;
    --sh-dark: #14342B;
    --sh-cream: #FCFBF8;
    --sh-line: #EFEBE1;
    --sh-ink: #1B1A17;
    --sh-mute: #7C7568;
    --sh-gold: #AC8838;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Inter, "Segoe UI", system-ui, sans-serif;
    color: var(--sh-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.sh-wrap { width: min(1240px, 100% - 2rem); margin-inline: auto; }
.sh-muted { color: var(--sh-mute); font-size: .86rem; }
.sh-block { padding-block: 2.2rem; }

.sh-h2 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -.01em;
    margin-bottom: 1.1rem;
}

.sh-block-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.sh-block-head .sh-h2 { margin-bottom: 0; }
.sh-block-head a {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .4rem 0;
    min-height: 34px;
    color: var(--sh-green);
    font-weight: 600;
    font-size: .88rem;
}

/* ---------------- header ---------------- */

.sh-head {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--sh-line);
}

.sh-head-in {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding-block: .85rem;
}

.sh-brand { display: flex; align-items: center; gap: .6rem; flex: 0 0 auto; }

.sh-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--sh-green), var(--sh-dark));
    color: var(--sh-cream);
    display: grid;
    place-items: center;
}

.sh-mark svg { width: 22px; height: 22px; }

.sh-brand-text {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.sh-search {
    flex: 1 1 auto;
    position: relative;
    max-width: 560px;
}

.sh-search i {
    position: absolute;
    left: .8rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sh-mute);
}

.sh-search input {
    width: 100%;
    font: inherit;
    font-size: .9rem;
    padding: .62rem .9rem .62rem 2.3rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 10px;
    background: var(--sh-cream);
}

.sh-search input:focus { outline: none; border-color: var(--sh-green); background: #fff; }

.sh-actions { display: flex; align-items: center; gap: 1.1rem; flex: 0 0 auto; }

.sh-actions a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* A fingertip is about 9mm across. These were 20x24 with a 10.9px word
       under them, which is a miss as often as a hit on a phone. */
    min-width: 44px;
    min-height: 44px;
    font-size: .7rem;
    color: var(--sh-mute);
    font-weight: 600;
}

.sh-actions a i { font-size: 1.25rem; color: var(--sh-ink); }
.sh-actions a:hover { color: var(--sh-green); }

.sh-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--sh-ink);
}

.sh-cats { border-top: 1px solid var(--sh-line); background: var(--sh-cream); }

.sh-cats-in {
    display: flex;
    gap: 1.4rem;
    padding-block: .6rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.sh-cats-in::-webkit-scrollbar { display: none; }

.sh-cats-in a {
    font-size: .84rem;
    font-weight: 600;
    color: var(--sh-mute);
    white-space: nowrap;
}

.sh-cats-in a.on, .sh-cats-in a:hover { color: var(--sh-green); }

/* ---------------- hero ---------------- */

.sh-hero {
    background: linear-gradient(120deg, var(--sh-green) 0%, #17493D 55%, var(--sh-dark) 100%);
    color: var(--sh-cream);
    padding-block: 3.4rem;
}

.sh-hero h1 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.sh-hero p { opacity: .82; margin-bottom: 1.4rem; }

/* ---------------- buttons ---------------- */

.sh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font: inherit;
    font-weight: 700;
    font-size: .9rem;
    padding: .7rem 1.5rem;
    border: 0;
    border-radius: 10px;
    background: var(--sh-cream);
    color: var(--sh-dark);
    cursor: pointer;
}

.sh-hero .sh-btn { background: var(--sh-cream); }
.sh-btn-block { width: 100%; background: var(--sh-green); color: #fff; }
.sh-btn:disabled { opacity: .5; cursor: not-allowed; }

.sh-btn-ghost {
    display: inline-flex;
    font: inherit;
    font-size: .85rem;
    font-weight: 600;
    gap: .35rem;
    align-items: center;
    padding: .5rem .9rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 9px;
    background: #fff;
    cursor: pointer;
}

/* The filters live behind a button on a phone only. */
[data-filters-toggle] { display: none; }

.sh-clear { display: block; text-align: center; margin-top: .7rem; font-size: .82rem; color: var(--sh-mute); }

/* ---------------- category tiles ---------------- */

.sh-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: .75rem;
}

.sh-cat {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 12px;
    font-weight: 600;
    font-size: .88rem;
    background: var(--sh-cream);
}

.sh-cat:hover { border-color: var(--sh-green); }
.sh-cat i { color: var(--sh-green); font-size: 1.15rem; }

/* ---------------- product grid ---------------- */

.sh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    grid-auto-rows: min-content;
    align-content: start;
    gap: 1rem;
}

.sh-card {
    border: 1.5px solid var(--sh-line);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .18s;
}

.sh-card:hover { box-shadow: 0 10px 26px rgba(20, 52, 43, .12); transform: translateY(-2px); }

.sh-card-pic {
    position: relative;
    aspect-ratio: 1;
    background: var(--sh-cream);
    display: grid;
    place-items: center;
}

.sh-card-pic img { width: 100%; height: 100%; object-fit: cover; }
.sh-card-pic > i { font-size: 2.2rem; color: #CFC8B8; }

.sh-off, .sh-gone {
    position: absolute;
    top: .55rem;
    font-size: .68rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 6px;
}

.sh-off { left: .55rem; background: var(--sh-green); color: #fff; }
.sh-gone { right: .55rem; background: #8F2B2B; color: #fff; }

.sh-card-body { padding: .75rem .8rem .9rem; display: flex; flex-direction: column; gap: .2rem; }

.sh-card-name {
    font-weight: 600;
    font-size: .88rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sh-card-brand { font-size: .74rem; color: var(--sh-mute); }
.sh-card-price { margin-top: .3rem; display: flex; align-items: baseline; gap: .4rem; }
.sh-card-price strong { font-size: 1rem; }
.sh-card-price s { font-size: .78rem; color: var(--sh-mute); }

/* ---------------- catalogue ---------------- */

.sh-cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 1.6rem; align-items: start; }

.sh-filters {
    border: 1.5px solid var(--sh-line);
    border-radius: 14px;
    padding: 1.1rem;
    position: sticky;
    top: 110px;
}

.sh-f-group { margin-bottom: 1.2rem; }

.sh-f-group h3 {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--sh-mute);
    margin-bottom: .55rem;
}

.sh-f-row { display: flex; align-items: center; gap: .5rem; font-size: .86rem; padding: .18rem 0; cursor: pointer; }
.sh-f-price { display: flex; align-items: center; gap: .4rem; }

.sh-f-price input {
    width: 100%;
    min-width: 0;
    font: inherit;
    font-size: .84rem;
    padding: .45rem .55rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 8px;
}

.sh-f-price span { font-size: .78rem; color: var(--sh-mute); }

.sh-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.1rem;
    font-size: .88rem;
}

.sh-sort { display: flex; align-items: center; gap: .6rem; }

.sh-sort select {
    font: inherit;
    font-size: .85rem;
    padding: .5rem .7rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 9px;
    background: #fff;
}

.sh-empty { text-align: center; padding: 3.5rem 1rem; color: var(--sh-mute); }
.sh-empty i { font-size: 2.4rem; display: block; margin-bottom: .6rem; }

.sh-pager { margin-top: 1.8rem; }
.sh-pager svg { width: 16px; height: 16px; }

/* ---------------- product page ---------------- */

.sh-crumbs { display: flex; align-items: center; gap: .3rem; font-size: .8rem; color: var(--sh-mute); margin-bottom: 1.2rem; }
.sh-crumbs a:hover { color: var(--sh-green); }

.sh-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.2rem; }

.sh-detail-pic {
    border: 1.5px solid var(--sh-line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--sh-cream);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
}

.sh-detail-pic img { width: 100%; height: 100%; object-fit: contain; }
.sh-detail-pic > i { font-size: 3.5rem; color: #CFC8B8; }

.sh-detail-body h1 {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -.015em;
    margin-bottom: .35rem;
}

.sh-variant {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    color: var(--sh-green);
    background: #EAF5F0;
    padding: .18rem .55rem;
    border-radius: 6px;
    margin-bottom: .4rem;
}

.sh-detail-price { display: flex; align-items: baseline; gap: .6rem; margin-top: 1rem; }
.sh-detail-price strong { font-size: 1.75rem; }
.sh-detail-price s { color: var(--sh-mute); }
.sh-off-inline { color: var(--sh-green); font-weight: 700; font-size: .88rem; }
.sh-tax-note { margin-top: .1rem; }

.sh-stock { display: flex; align-items: center; gap: .35rem; margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--sh-green); }
.sh-stock.gone { color: #8F2B2B; }

.sh-buy { margin-top: 1.4rem; }
.sh-buy .sh-btn { background: var(--sh-green); color: #fff; }

.sh-desc { margin-top: 1.6rem; font-size: .92rem; line-height: 1.7; color: #3A372F; }

.sh-specs { margin-top: 1.6rem; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; font-size: .86rem; }
.sh-specs dt { color: var(--sh-mute); }
.sh-specs dd { font-weight: 600; }

/* ---------------- footer ---------------- */

.sh-foot { border-top: 1px solid var(--sh-line); background: var(--sh-cream); margin-top: 2.5rem; }

.sh-foot-in {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding-block: 1.8rem;
    font-size: .86rem;
}

/* ---------------- phone ---------------- */

@media (max-width: 991.98px) {
    .sh-cat-layout { grid-template-columns: 1fr; }

    .sh-filters {
        display: none;
        position: static;
        margin-bottom: 1.2rem;
    }

    .sh-filters.open { display: block; }
    [data-filters-toggle] { display: inline-flex; }
    .sh-detail { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (max-width: 767.98px) {
    .sh-head-in { flex-wrap: wrap; gap: .7rem; }
    .sh-search { order: 3; flex-basis: 100%; max-width: none; }
    .sh-actions { margin-left: auto; gap: .35rem; }
    .sh-actions a span { display: none; }
    .sh-actions a i { font-size: 1.45rem; }
    .sh-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
    .sh-hero { padding-block: 2.4rem; }
}

/* ---------------- basket, checkout, account ---------------- */

.sh-cart-link { position: relative; }

.sh-cart-link em {
    position: absolute;
    top: -4px;
    right: -8px;
    font-style: normal;
    font-size: .62rem;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--sh-green);
    color: #fff;
    display: grid;
    place-items: center;
}

.sh-narrow { max-width: 520px; }

.sh-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.6rem;
    align-items: start;
}

.sh-cart-lines { display: flex; flex-direction: column; gap: 1rem; }

.sh-line {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) auto;
    gap: 1rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 14px;
    padding: .9rem;
    align-items: start;
}

.sh-line-pic {
    width: 92px;
    height: 92px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--sh-cream);
    display: grid;
    place-items: center;
}

.sh-line-pic img { width: 100%; height: 100%; object-fit: cover; }
.sh-line-pic > i { font-size: 1.6rem; color: #CFC8B8; }
.sh-line-name { font-weight: 600; font-size: .93rem; display: block; margin-bottom: .2rem; }
.sh-line-end { text-align: right; display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }

.sh-qty { display: flex; gap: .4rem; margin-top: .6rem; }

.sh-qty input {
    width: 74px;
    font: inherit;
    font-size: .86rem;
    padding: .4rem .5rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 8px;
}

.sh-link-btn {
    font: inherit;
    font-size: .78rem;
    color: var(--sh-mute);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
}

.sh-summary {
    border: 1.5px solid var(--sh-line);
    border-radius: 14px;
    padding: 1.2rem;
    position: sticky;
    top: 110px;
    background: var(--sh-cream);
}

.sh-summary h3, .sh-panel h3 { font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }

.sh-panel {
    border: 1.5px solid var(--sh-line);
    border-radius: 14px;
    padding: 1.2rem;
}

.sh-coupon { display: flex; gap: .4rem; margin-bottom: 1rem; }

.sh-coupon input {
    flex: 1 1 auto;
    min-width: 0;
    font: inherit;
    font-size: .85rem;
    padding: .5rem .6rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 8px;
    text-transform: uppercase;
}

.sh-tot { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; font-size: .88rem; margin-bottom: 1.1rem; }
.sh-tot dd { text-align: right; font-weight: 600; }
.sh-tot .sub, .sh-tot .off { font-size: .8rem; color: var(--sh-mute); font-weight: 500; }
.sh-tot .off { color: var(--sh-green); }
.sh-tot .grand { font-size: 1.05rem; font-weight: 800; padding-top: .5rem; border-top: 1px solid var(--sh-line); }

.sh-mini { list-style: none; font-size: .82rem; margin-bottom: 1rem; display: grid; gap: .35rem; }
.sh-mini li { display: flex; justify-content: space-between; gap: .6rem; }

.sh-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1rem; }
.sh-fields label { display: block; font-size: .8rem; font-weight: 600; color: var(--sh-mute); }
.sh-fields label.wide { grid-column: 1 / -1; }
.sh-fields .sh-check { display: flex; align-items: center; gap: .45rem; font-weight: 500; }

.sh-fields input, .sh-fields textarea {
    width: 100%;
    font: inherit;
    font-size: .9rem;
    font-weight: 400;
    color: var(--sh-ink);
    padding: .55rem .7rem;
    margin-top: .25rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 9px;
}

.sh-fields .sh-check input { width: auto; margin: 0; }
.sh-fields input:focus, .sh-fields textarea:focus { outline: none; border-color: var(--sh-green); }

.sh-pay {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    border: 1.5px solid var(--sh-line);
    border-radius: 12px;
    padding: .85rem;
    margin-bottom: .6rem;
    cursor: pointer;
}

.sh-pay:has(input:checked) { border-color: var(--sh-green); background: #F3F8F6; }
.sh-pay strong { display: block; font-size: .9rem; }
.sh-pay small { display: block; font-size: .78rem; color: var(--sh-mute); margin-top: .1rem; }

.sh-note { border-radius: 10px; padding: .65rem .85rem; font-size: .85rem; margin-bottom: .9rem; }
.sh-note.ok { background: #EAF5F0; color: #1E5E4E; }
.sh-note.warn { background: #FBF0E4; color: #8A5A12; }

.sh-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.sh-badge {
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 999px;
    background: #EFEBE1;
    color: #5A5445;
    white-space: nowrap;
}

.sh-badge.confirmed, .sh-badge.packed { background: #F5EEDD; color: #7A5B12; }
.sh-badge.shipped { background: #E4EEF7; color: #1B4E7A; }
.sh-badge.delivered { background: #EAF5F0; color: #1E5E4E; }
.sh-badge.cancelled { background: #FBECEC; color: #8F2B2B; }

.sh-steps {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 1rem 0 1.4rem;
    font-size: .82rem;
    color: var(--sh-mute);
}

.sh-steps li { display: flex; align-items: center; gap: .3rem; }
.sh-steps li.done { color: var(--sh-green); font-weight: 600; }

.sh-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sh-table td { padding: .5rem 0; border-bottom: 1px solid var(--sh-line); }
.sh-table td.num { text-align: right; white-space: nowrap; }

.sh-order-list { display: flex; flex-direction: column; gap: .6rem; }

.sh-order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    border: 1.5px solid var(--sh-line);
    border-radius: 12px;
    padding: .9rem 1rem;
}

.sh-order-row:hover { border-color: var(--sh-green); }
.sh-order-id { display: flex; flex-direction: column; gap: .15rem; }
.sh-empty .sh-btn { background: var(--sh-green); color: #fff; margin-top: .8rem; }

@media (max-width: 991.98px) {
    .sh-cart { grid-template-columns: 1fr; }
    .sh-summary { position: static; }
}

@media (max-width: 575.98px) {
    .sh-fields { grid-template-columns: 1fr; }
    .sh-line { grid-template-columns: 70px minmax(0, 1fr); }
    .sh-line-pic { width: 70px; height: 70px; }
    .sh-line-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .sh-order-row { grid-template-columns: minmax(0, 1fr) auto; }
}

.sh-buy { display: flex; gap: .6rem; align-items: center; }

.sh-buy input[type="number"] {
    width: 84px;
    font: inherit;
    font-size: .9rem;
    padding: .65rem .6rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 10px;
}

.sh-or {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.1rem 0 .8rem;
    color: var(--sh-mute);
    font-size: .78rem;
}

.sh-or::before, .sh-or::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--sh-line);
}

.sh-social { display: grid; gap: .5rem; }
.sh-social .sh-btn-ghost { width: 100%; justify-content: center; }

/* ---------------- saved items, conversations ---------------- */

.sh-saved { display: flex; flex-direction: column; gap: .5rem; }
.sh-saved-acts { display: flex; flex-direction: column; gap: .35rem; align-items: center; }
.sh-saved-acts .sh-btn { background: var(--sh-green); color: #fff; padding: .5rem 1rem; font-size: .82rem; }

.sh-heart {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    color: #8A8275;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    box-shadow: 0 2px 6px rgba(20, 52, 43, .12);
}

.sh-heart.on { color: #C0392B; }
.sh-heart:hover { color: #C0392B; }

.sh-narrow-wide { max-width: 760px; }

.sh-thread {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    max-height: 460px;
    overflow-y: auto;
    padding: .3rem;
}

.sh-msg { max-width: 82%; border-radius: 12px; padding: .6rem .8rem; font-size: .88rem; }
.sh-msg.me { align-self: flex-end; background: #EAF5F0; }
.sh-msg.them { align-self: flex-start; background: var(--sh-cream); border: 1px solid var(--sh-line); }
.sh-msg-who { font-size: .72rem; color: var(--sh-mute); margin-bottom: .2rem; }
.sh-msg-body { white-space: pre-wrap; line-height: 1.5; }

.sh-msg-file {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-top: .35rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--sh-green);
}

.sh-badge.open { background: #FBF0E4; color: #8A5A12; }
.sh-badge.answered { background: #E4EEF7; color: #1B4E7A; }
.sh-badge.resolved { background: #EAF5F0; color: #1E5E4E; }
.sh-badge.closed { background: #EFEBE1; color: #5A5445; }

.sh-fields select {
    width: 100%;
    font: inherit;
    font-size: .9rem;
    font-weight: 400;
    color: var(--sh-ink);
    padding: .55rem .7rem;
    margin-top: .25rem;
    border: 1.5px solid var(--sh-line);
    border-radius: 9px;
    background: #fff;
}

.sh-fields input[type="file"] { font-size: .82rem; padding: .4rem 0; border: 0; }

/* ---------------- the shop's own words and pictures ---------------- */

.sh-banners { display: grid; gap: .8rem; padding: 1.2rem 0 .4rem; width: min(1240px, 100% - 2rem); margin-inline: auto; }

.sh-banner {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(120deg, var(--sh-green), var(--sh-dark));
    color: var(--sh-cream);
    min-height: 150px;
}

.sh-banner img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

.sh-banner.has-pic .sh-banner-words {
    background: linear-gradient(90deg, rgba(20, 52, 43, .82) 0%, rgba(20, 52, 43, .45) 60%, transparent 100%);
}

.sh-banner-words {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: 1.6rem 1.8rem;
    min-height: 150px;
    justify-content: center;
}

.sh-banner-words strong {
    font-family: "Plus Jakarta Sans", Inter, sans-serif;
    font-size: clamp(1.15rem, 2.6vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -.015em;
}

.sh-banner-words span { font-size: .9rem; opacity: .88; max-width: 46ch; }
.sh-banner-words .sh-btn { font-style: normal; margin-top: .5rem; padding: .5rem 1.1rem; font-size: .85rem; }

.sh-prose { font-size: .95rem; line-height: 1.75; color: #35322B; max-width: 68ch; }
.sh-prose a { color: var(--sh-green); font-weight: 600; }

.cms-links { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.cms-links a { color: var(--sh-green); font-weight: 600; }
.cms-links a:hover { text-decoration: underline; }

@media (max-width: 575.98px) {
    .sh-banner-words { padding: 1.2rem; }
}

/* ================= the shop's own menu ================= */

/* The panel hangs off the strip, not off the entry it belongs to. Anchored to
   the entry, a panel under the rightmost word would run off the side of the
   screen; anchored to the strip it can never do that, and its contents line up
   with the rest of the page. */
.sh-cats { position: relative; }

.sh-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--sh-mute);
    white-space: nowrap;
    padding: .2rem 0;
}

.sh-nav-link.on, .sh-nav-link:hover { color: var(--sh-green); }
.sh-nav-caret { font-size: 1rem; transition: transform .15s; }

.sh-nav-badge {
    font-style: normal;
    font-size: .6rem;
    font-weight: 800;
    padding: .08rem .32rem;
    border-radius: 999px;
    background: var(--sh-gold);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
}

/* ---- the panel, on a wide screen ---- */

.sh-panel-drop {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    background: #fff;
    border: 1px solid var(--sh-line);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 40px rgba(20, 52, 43, .14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .14s, transform .14s, visibility .14s;
}

.sh-nav-item:hover > .sh-panel-drop,
.sh-nav-item.open > .sh-panel-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sh-nav-item:hover .sh-nav-caret,
.sh-nav-item.open .sh-nav-caret { transform: rotate(180deg); }

.sh-panel-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 1.4rem;
    padding: 1.2rem 1.4rem;
    width: auto;
}

/* With nothing in the aside the columns take the whole panel rather than
   leaving a reserved strip of empty space down the right. */
.sh-panel-in.no-aside {
    grid-template-columns: minmax(0, 1fr);
}

.sh-panel-cols {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem 1.4rem;
}

.sh-panel-col { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }

.sh-panel-head {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--sh-ink);
    margin-bottom: .3rem;
}

a.sh-panel-head:hover { color: var(--sh-green); }

.sh-panel-link {
    font-size: .84rem;
    color: var(--sh-mute);
    padding: .12rem 0;
    display: flex;
    align-items: center;
    gap: .3rem;
}

.sh-panel-link:hover { color: var(--sh-green); }

.sh-panel-aside {
    border-left: 1px solid var(--sh-line);
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.sh-panel-blurb { font-size: .82rem; color: var(--sh-mute); line-height: 1.5; }
.sh-panel-pic { width: 100%; border-radius: 10px; }

.sh-panel-prod { display: flex; gap: .55rem; align-items: center; }

.sh-panel-prod-pic {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--sh-cream);
    display: grid;
    place-items: center;
}

.sh-panel-prod-pic img { width: 100%; height: 100%; object-fit: cover; }
.sh-panel-prod-name { display: block; font-size: .8rem; font-weight: 600; line-height: 1.3; }
.sh-panel-prod-price { display: block; font-size: .78rem; color: var(--sh-green); font-weight: 700; }

/* ---- the drawer, on a phone ---- */

@media (max-width: 991.98px) {
    .sh-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sh-cats {
        position: static;
        display: none;
        border-top: 1px solid var(--sh-line);
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .sh-cats.open { display: block; }

    .sh-cats-in {
        display: block;
        padding-block: .4rem;
        overflow: visible;
    }

    .sh-nav-item { display: block; border-bottom: 1px solid var(--sh-line); }
    .sh-nav-item:last-child { border-bottom: 0; }

    .sh-cats-in > .sh-nav-link,
    .sh-nav-item > .sh-nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: .8rem .2rem;
        font-size: .95rem;
        color: var(--sh-ink);
    }

    /* Position, opacity and visibility all have to be undone, or the panel
       stays hidden in the flow and the section looks empty when opened. */
    .sh-panel-drop {
        position: static;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--sh-cream);
    }

    .sh-nav-item.open > .sh-panel-drop { display: block; }
    .sh-nav-item:hover > .sh-panel-drop { display: none; }
    .sh-nav-item.open:hover > .sh-panel-drop { display: block; }

    .sh-panel-in { grid-template-columns: 1fr; gap: .9rem; padding: .6rem .2rem 1rem; width: auto; }
    .sh-panel-cols { grid-template-columns: 1fr 1fr; gap: .9rem; }
    .sh-panel-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--sh-line); padding-top: .8rem; }
    .sh-panel-prod { display: none; }

    body.sh-menu-open { overflow: hidden; }
}

@media (max-width: 479.98px) {
    .sh-panel-cols { grid-template-columns: 1fr; }
}

/* ================= the footer ================= */

.sh-foot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.6rem;
    padding-block: 2.2rem 1.6rem;
}

.sh-foot-about .sh-brand { margin-bottom: .7rem; }
.sh-foot-about p { margin-bottom: .35rem; line-height: 1.55; }

/* The phone number is dialled from a phone, so it needs to be a target and
   not just a line of text. */
.sh-foot-about a {
    color: inherit;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
}

.sh-foot-col { display: flex; flex-direction: column; gap: .35rem; }

.sh-foot-col h4 {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .3rem;
}

.sh-foot-col a {
    font-size: .86rem;
    color: var(--sh-mute);
    /* Room enough to hit on a phone without opening the one below it. */
    padding-block: .3rem;
    min-height: 30px;
    display: flex;
    align-items: center;
}
.sh-foot-col a:hover { color: var(--sh-green); }

.sh-socials { display: flex; gap: .5rem; margin-top: .7rem; }

.sh-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--sh-line);
    display: grid;
    place-items: center;
    color: var(--sh-mute);
    font-size: 1.05rem;
    background: #fff;
}

.sh-socials a:hover { border-color: var(--sh-green); color: var(--sh-green); }

.sh-foot-base { border-top: 1px solid var(--sh-line); }

.sh-foot-base-in {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    padding-block: .9rem;
    font-size: .8rem;
    color: var(--sh-mute);
}

@media (max-width: 767.98px) {
    .sh-foot-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
    .sh-foot-about { grid-column: 1 / -1; }
}
