/* v0.5.9 homepage, Help and bank transfer views. */
.sw-customer-nav{display:flex;align-items:center;gap:clamp(10px,2vw,20px)}
.top .sw-help-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:54px;white-space:nowrap;padding:8px 12px;border-color:#a1f0c7;background:#a1f0c7;color:#143f43;text-decoration:none}
.top .sw-help-link:hover{background:#d5fae5}
.top .sw-help-link:focus-visible{outline:2px solid white;outline-offset:3px}
.sw-shop-page main{margin-top:clamp(12px,3vw,24px);margin-bottom:32px}
.sw-shop-page .notice{margin-bottom:12px}
.sw-v059-hero{text-align:center;min-height:0;padding:clamp(16px,4vw,30px) clamp(12px,4vw,28px)}
.sw-v059-hero h1{font-size:clamp(2.5rem,7vw,3.5rem);line-height:1.08;margin:0;font-weight:800;letter-spacing:-.035em}
.sw-v059-hero .sw-v059-tagline{font-weight:650;font-size:clamp(1.25rem,4.2vw,1.8rem);margin:5px auto 12px;color:inherit}
.sw-v059-howto{max-width:550px;margin:0 auto 12px;padding:10px 12px;border-radius:12px;background:#fff;color:#123f40}
.sw-hero-brand{display:inline-block;background:#143f43;color:#fff;border-radius:.15em;padding:.1em .2em}
.sw-hero-brand-accent{color:#a1f0c7}
.sw-v059-howto strong{display:inline-flex;align-items:center;gap:7px;font-size:1.075rem}
.sw-v059-howto p{font-size:.9rem;color:#4a6062;margin:3px auto 0;line-height:1.4}
.sw-v059-hero > .secondary{display:inline-flex;align-items:center;min-height:44px}
.sw-shop-page .sectionbar{margin-top:18px}
.sw-shop-products{gap:8px;margin-top:8px}
.sw-shop-products .product-card{grid-template-columns:44px minmax(0,1fr) auto auto;min-height:62px;padding:7px 10px;gap:8px}
.sw-shop-products .thumb{display:grid;place-items:center;width:44px;height:44px}
.sw-shop-products .product-photo{width:44px;height:44px;border-radius:6px}
.sw-shop-products .product-text{min-width:0;overflow-wrap:anywhere}
.sw-shop-products .product-text small{margin-top:2px}
.sw-shop-products .product-card .arrow{grid-column:auto}
.sw-quantity-stepper{display:inline-flex;align-items:center;gap:8px}
.sw-quantity-stepper span{min-width:2ch;text-align:center;font-variant-numeric:tabular-nums;font-weight:700}
.sw-quantity-stepper .secondary{min-width:44px;min-height:44px;font-size:1.15rem;padding:4px}
.sw-quantity-stepper .secondary:disabled{opacity:.5;cursor:default}
.cart-controls .remove-btn{min-height:44px}
.checkout-card .sw-add-more-snacks{display:flex;width:fit-content;max-width:100%;min-height:44px;margin-inline:auto;padding:8px 12px;justify-content:center}
.sw-product-image{margin:4px 0 10px;line-height:1}
.sw-product-image .product-photo-large{max-height:clamp(120px,32vw,176px);margin:0 auto}
.sw-product-image .snack-icon{display:block;width:84px;height:100px}
.sw-help-page{max-width:680px;margin:auto}
.sw-help-form{display:flex;flex-direction:column;gap:16px}
.sw-help-form label{display:flex;flex-direction:column;gap:6px;font-weight:650}
.sw-help-form input,.sw-help-form textarea{width:100%;min-width:0;box-sizing:border-box}
.sw-help-form textarea{resize:vertical;min-height:150px;font:inherit}
.sw-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.sw-ticket-id{font-size:1.6rem;font-weight:750;letter-spacing:.02em}
@media(max-width:480px){
  header.top{padding:9px 12px}
  .sw-customer-nav{gap:8px}
  .sw-shop-products{width:min(calc(100% - 24px), 326px);margin-inline:auto;grid-template-columns:minmax(0,1fr)}
  .sw-shop-products .product-card{grid-template-columns:44px minmax(0,1fr) auto}
  .sw-shop-products .product-card .arrow{display:none}
}

.sw-bank-details .detail {
  grid-template-columns: minmax(0, 7rem) minmax(0, 1fr) auto;
  gap: 8px;
}
.sw-bank-details .copy { min-width: 48px; min-height: 44px; }
.sw-maintenance-reference { margin-top: 12px; }
.sw-maintenance-reference input { width: 100%; min-width: 0; }
@media (max-width: 480px) {
  .sw-bank-details .detail { grid-template-columns: minmax(0, 1fr) auto; }
  .sw-bank-details .detail > :first-child { grid-column: 1 / -1; }
}

.sw-admin-help { max-width: 850px; margin: 0 auto; overflow-wrap: anywhere; }
.sw-help-attention { color: var(--sea); }
.sw-help-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 11rem) auto;
  gap: 10px;
  align-items: end;
  margin: 16px 0;
}
.sw-help-search label { display: grid; gap: 5px; min-width: 0; }
.sw-help-search input, .sw-help-search select, .sw-admin-help .sw-help-form select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
}
.sw-help-search .cta, .sw-help-pagination .cta, .sw-help-copy .copy { min-height: 44px; }
.sw-help-queue { list-style: none; padding: 0; }
.sw-help-entry { margin: 12px 0; padding: 16px; border: 1px solid #cadcd8; border-radius: 12px; background: #fff; }
.sw-help-queue .sw-help-entry[data-status="new"],
.sw-help-queue .sw-help-entry[data-status="in_progress"] { border-inline-start: 4px solid var(--sea); }
.sw-help-entry-heading, .sw-help-meta, .sw-help-pagination, .sw-help-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.sw-help-entry-heading { justify-content: space-between; font-weight: 700; }
.sw-help-status { display: inline-block; border-radius: 8px; padding: 4px 9px; font-weight: 700; background: #e8eeec; color: #263e3c; }
.sw-help-status[data-status="new"] { background: #f9e7ba; color: #563800; }
.sw-help-status[data-status="in_progress"] { background: #d6eeeb; color: #124d4c; }
.sw-help-subject { font-weight: 650; margin: 8px 0; }
.sw-help-meta { font-size: .9rem; color: #455e5d; }
.sw-help-contact div { margin: 8px 0; }
.sw-help-contact dt { font-weight: 700; }
.sw-help-contact dd { margin: 0; }
.sw-help-copy .copy { min-width: 48px; }
.sw-help-message { white-space: pre-wrap; }
.sw-help-note { border-top: 1px solid #cadcd8; padding-top: 8px; }

@media (max-width: 520px) {
  .sw-help-search { grid-template-columns: minmax(0, 1fr); }
  .sw-help-entry { padding: 12px; }
}
