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

body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 19px;
}

main {
  padding: 20px;
  max-width: 480px;
}

img {
  max-width: 100%;
  height: 350px;
  display: block;
}

img.tb {
  width: 100%;
  max-width: 250px;
  margin-top: 40px;
  height: auto;
}

details:first-of-type {
  margin-top: 20px;
}

details:last-of-type {
  margin-bottom: 20px;
}

summary {
  cursor: pointer;
}

.product {
  width: 100%;
  margin-bottom: 40px;
}

.cart-btn {
  display: inline-block;
  user-select: none;
  cursor: pointer;
  color: #07F;
}

.cart-btn span {
  display: inline-block;
  cursor: pointer;
  margin: 0 5px;
  position: relative;
}

.cart-btn span.minus {
  top: -1px;
}

h1,
h3 {
  font-size: inherit;
  font-weight: normal;
}

h1 {
  margin-bottom: 30px;
}

h3 {
  margin-top: 20px;
  margin-bottom: 20px;
}

a {
  color: #F00;
  text-decoration: none;
  cursor: pointer;
}

p+p {
  margin-top: 20px;
}

#checkout-container {
  color: #840;
  margin-bottom: 40px;
}

.cart-empty,
.order-hint {
  font-style: italic;
}

.cart-heading {
  margin-bottom: 20px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-bottom: 1px solid #840;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.cart-price {
  text-align: right;
  white-space: nowrap;
}

#cart-widget .shipping-options {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 20px;
}

#checkout-container.has-items .shipping-options {
  display: flex;
}

#cart-widget .shipping-options label {
  cursor: pointer;
}

#cart-widget .shipping-options input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid #840;
  border-radius: 50%;
  margin-top: 2px;
  margin-right: 10px;
  cursor: pointer;
  vertical-align: top;
}

#cart-widget .shipping-options input[type="checkbox"]:checked {
  background-color: #840;
}

#cart-widget .shipping-options button {
  font-size: inherit;
  font-family: inherit;
  background: none;
  border: none;
  color: #000;
  margin-top: 20px;
}

#cart-widget .shipping-options button[disabled] {
  cursor: default;
}
