.store {
  text-align: left;
  width: 90%;
  margin: 0 auto 2rem;
}

.store .subtitle {
  text-align: center;
}

.store-empty {
  text-align: center;
  margin: 1.5rem 0;
}

.store-grid {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.store-card {
  display: flex;
  flex-direction: column;
  padding: 0.7rem;
  border: 1px solid var(--form-border);
  border-radius: 0.4rem;
  background: var(--form-background);
}

.store-card-main {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.store-card-photo {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  margin: 0;
  padding: 0;
  background: none;
  border-color: rgba(0, 0, 0, 0);
  border-width: 1px;
  border-style: solid;
  cursor: pointer;
  border-radius: 0.3rem;
}

.store-card-photo:hover {
  background: none;
  border-color: var(--band-color);
  border-width: 1px;
  border-style: solid;
}

.store-card-image {
  display: block;
  width: 100%;
  height: 4.5rem;
  object-fit: contain;
}

.store-card-placeholder {
  display: block;
  height: 4.5rem;
}

.store-card-body {
  flex: 1;
  min-width: 0;
}

.store-card-name {
  font-size: 1.3rem;
  font-weight: bold;
}

.store-card-info {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0.15rem 0 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--band-color);
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  line-height: 1.2;
  vertical-align: middle;
  cursor: pointer;
}

.store-card-info-text {
  text-decoration: underline;
  font-style: italic;
  font-size: 0.8em;
}

.store-card-info:hover {
  background: none;
}

.store-card-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  border: 2px solid var(--band-color);
  border-radius: 50%;
  background: #fff;
  color: var(--band-color);
  font-size: 0.75rem;
  font-weight: bold;
  font-style: italic;
  line-height: 1;
  text-decoration: none;
}

.store-card-short {
  margin-top: 0.2rem;
}

.store-card-offer {
  margin-top: 0.3rem;
  line-height: 1.35;
}

.store-card-price {
  font-weight: bold;
  color: var(--band-color);
}

.store-card-deal {
  font-size: max(16px, 0.75em);
  color: var(--band-color);
}

.store-card-price + .store-card-deal,
.store-card-deal + .store-card-deal {
  margin-left: 0.7em;
}

.store-product {
  text-align: left;
}

.store-product-image {
  display: block;
  width: 100%;
  max-height: 10rem;
  object-fit: contain;
  margin: 0 auto 0.6rem;
  background: #f4f4f4;
}

.store-product-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  margin-bottom: 0.6rem;
  padding: 0.6rem;
  background: var(--form-background);
  border: 1px solid var(--form-border);
  border-radius: 0.4rem;
  text-align: center;
  color: #555;
}

.store-product-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--band-color);
  margin-bottom: 0.4rem;
}

.store-product-short,
.store-product-options {
  margin: 0 0 0.5rem;
}

.store-product-deal {
  margin: 0 0 0.5rem;
  font-size: max(16px, 0.75em);
  color: var(--band-color);
}

.store-product-body {
  font-size: max(16px, 0.7em);
  line-height: 1.3;
}

.store-product-body p,
.store-product-body ul,
.store-product-body ol {
  margin: 0 0 0.7rem;
}

.store-product-body ul,
.store-product-body ol {
  padding-left: 1.3em;
}

.store-product-body p:last-child,
.store-product-body ul:last-child,
.store-product-body ol:last-child {
  margin-bottom: 0;
}

.store-product-body a {
  color: var(--band-color);
}

.store-card-variant-lines {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.store-card-variant {
  font-size: max(16px, 0.85em);
  min-width: 6.5em;
  max-width: 9em;
  flex: 0 0 auto;
}

.store-card-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.25rem;
}

.store-card-qty {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
}

.store-card-qty[hidden] {
  display: none;
}

.store-card-qty-label {
  font-size: 0.8em;
  margin-right: 0.15rem;
}

.store-card-qty-dec,
.store-card-qty-inc {
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1;
}

.store-card-qty-input {
  width: 2.1rem;
  height: 1.4rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--form-border);
  border-radius: 0.25em;
  text-align: center;
  font-size: 16px;
  box-sizing: border-box;
}

.store-card-subtotal {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  min-width: 0;
  flex: 1;
  font-size: 1.05em;
}

.store-card-subtotal[hidden] {
  display: none;
}

.store-card-subtotal-math {
  display: flex;
  align-items: baseline;
  justify-self: center;
  gap: 0.35rem;
}

.store-card-subtotal-unit,
.store-card-subtotal-qty {
  white-space: nowrap;
  font-size: 0.9em;
}

.store-card-subtotal-amount {
  justify-self: end;
  font-weight: bold;
  white-space: nowrap;
}

.store .pos-order {
  width: 100%;
  max-width: none;
}

.store .pos-order.is-empty {
  display: none;
}

.store .pos-order-table {
  width: 100%;
  table-layout: auto;
}

.store .pos-order-table .pos-order-unit,
.store .pos-order-table .pos-order-qty,
.store .pos-order-table .pos-order-price {
  width: auto;
}

.store .pos-order-table .pos-order-action {
  width: 0;
  padding: 0;
  overflow: hidden;
  border: none;
}

.store-address-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.8rem;
}

.store-address-row .form-value {
  flex: 1 1 8rem;
}

.store-address-row .store-address-state {
  flex: 0 1 5rem;
}

.store-address-row .store-address-zip {
  flex: 0 1 7rem;
}

.store-label-optional {
  color: #888;
}

.store-shipping-rules {
  margin: 0.45em 0 0;
  padding-left: 1.2em;
}

.store-checkout {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.8rem;
}

.store-pay-hint,
.store-shipping-note {
  margin: 0.4rem 0 0;
  text-align: center;
  color: #888;
}

.store-shipping-note {
  font-size: 0.9em;
  max-width: 22em;
}

.store-shipping-note.is-under-threshold {
  color: #000;
}

.store-paypal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.store-paypal-mark {
  display: block;
  height: 1.25em;
  width: auto;
}

.store-paypal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.store-paypal-mark {
  display: block;
  height: 1.25em;
  width: auto;
}
