
.select-beans__list {
  gap: 4%;
}
@media (max-width: 599px) {
  .select-beans__list {
    gap: 4%;
  }
}
.select-beans__each {
  width: 22%;
  transition: 0.2s;
  margin-bottom: 20px;
  border: 2px solid #f7f7f7;
  border-radius: 10px;
  overflow: hidden;
}
@media (max-width: 599px) {
  .select-beans__each {
    width: 48%;
  }
}
.select-beans__each.is-selected {
  border: 2px solid #00002c;
  background: rgba(165, 120, 81, 0.2);
}
.select-beans__each .bean-image {
  height: 170px;
  text-align: center;
  padding: 10px 0;
}
@media (max-width: 599px) {
  .select-beans__each .bean-image {
    height: 100px;
  }
}
.select-beans__each .bean-image img {
  max-height: 100%;
  display: inline-block;
}
.select-beans__heading {
  background: #00002c;
  color: #fff;
  /* font-size: clamp(1rem, 1rem + 0.8333333333vw, 1.2rem); */
  font-size: 1rem;
  text-align: center;
  padding: 10px 4%;
}
@media (min-width: 600px) {
  .select-beans__heading {
    font-size: 1.4rem;
  }
}
.select-beans p, .select-beans a, .select-beans li {
  color: inherit;
}
.select-beans__name {
  border-top: 1px solid #ddd;
  margin-top: 5px;
  padding-top: 5px;
}
/* @media (min-width: 600px) {
  .select-beans__name br {
    display: none;
  }
} */
.select-beans__quantity {
  margin-bottom: 10px;
  text-align: center;
}
.select-beans__quantity input {
  padding: 5px 10px;
  appearance: none;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  text-align: center;
}
@media (max-width: 599px) {
  .select-beans__quantity input {
    font-size: 16px;
    width: 32px;
  }
}

.qty-modify {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  touch-action: manipulation;
}
.qty-modify button {
  appearance: none;
  outline: none;
  border: none;
  width: 30px;
  aspect-ratio: 1/1;
  background: #00002c;
  position: relative;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.2s;
}
.qty-modify button:before, .qty-modify button:after {
  content: "";
  position: absolute;
  background: #fff;
  width: 50%;
  height: 2px;
  display: block;
}
.qty-modify button.unavailable, .qty-modify button.all-unavailable {
  opacity: 0.06;
  cursor: not-allowed;
}

.qty-minus-btn {
  left: 4%;
}

.qty-plus-btn {
  right: 4%;
}
.qty-plus-btn button:after {
  transform: rotate(90deg);
}

.selected-nums {
  position: fixed;
  top: 3%;
  right: 8%;
  z-index: 999999;
  width: 80px;
  aspect-ratio: 1;
  background: #00002c;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
@media (max-width: 599px) {
  .selected-nums {
    border: 2px solid #fff;
    top: auto;
    bottom: 6%;
    right: auto;
    left: 5%;
    width: 50px;
  }
}


.terms-box {
  border: 2px solid #eee;
  padding: 20px 4%;
  margin-top: 40px;
}
@media (max-width: 599px) {
  .terms-box {
    padding: 20px 0;
  }
}
.terms-box__inner {
  height: 200px;
  overflow-y: scroll;
}
@media (max-width: 599px) {
  .terms-box__inner {
    margin: 0 3%;
  }
}
.terms-box h5 {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
}
@media (max-width: 599px) {
  .terms-box h5 {
    font-size: 1.6rem;
  }
}
.terms-box p {
  font-size: 1.4rem;
}
@media (max-width: 599px) {
  .terms-box p {
    font-size: 1rem;
  }
}
.terms-box p.right {
  text-align: right;
}
.terms-box pre {
  white-space: pre-wrap;
  font-size: 1.4rem;
}
.terms-box__agreement {
  padding-top: 20px;
}
.terms-box__agreement p {
  text-align: center;
}
.terms-box__agreement .agreement {
  font-size: 1.6rem;
}

.cv-caution-box {
  position: absolute;
  z-index: 1;
  top: -100px;
}

.cartin-box .is-hidden {
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  max-height: 0px;
  margin: 0;
}
.cartin-box .caution-agreement,
.cartin-box .caution-mismatch {
  display: block;
  opacity: 1;
  transition: 1s;
  margin-top: 10px;
  max-height: 100px;
}
.beans-list--musetti .bean-image {
  aspect-ratio: 1;
  padding: 1rem 0;
  width: 100%;
}
.beans-list--musetti .bean-image img {
  max-height: 100%;
}

.btn-offer {
  transition: 0.3s;
}
.btn-offer:after {
  content: "";
  width: 3rem;
  aspect-ratio: 0.8/1.1;
  background: #fff;
  position: absolute;
  right: 8%;
  top: 0;
  bottom: 0;
  margin: auto;
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  transition: 0.3s;
  animation: offerArrow 1s infinite forwards;
}
@media (max-width: 599px) {
  .btn-offer:after {
    width: 2rem;
  }
}
@media (hover: none) {
  .btn-offer {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
}
@media (-ms-high-contrast: none), (-ms-high-contrast: active), (-moz-touch-enabled: 0), (hover: hover) {
  .btn-offer:hover:after {
    background: #ed1c24;
  }
}
.btn-offer:disabled {
  background: #ccc !important;
  border-color: #ccc;
  pointer-events: none;
}
.btn-offer:disabled:after {
  animation-play-state: paused;
}

@keyframes offerArrow {
  0% {
    transform: translateX(0%) scaleX(1);
    animation-timing-function: ease-in;
  }
  50% {
    transform: translateX(30%) scaleX(0.9);
    animation-timing-function: ease-out;
  }
  0% {
    transform: translateX(0%) scaleX(1);
    animation-timing-function: ease-in;
  }
}