/* ============================================================
   商品モーダル（ご購入はこちら）— mizuomoi を流用しブランド色へ
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: center; justify-content: center;
  background: rgba(20,24,0,0.55); padding: 20px;
}
.modal-overlay.is-open { display: flex; }

.modal {
  position: relative; width: 100%; max-width: 420px; max-height: 88vh;
  overflow-y: auto; background: #fff; border-radius: 18px;
  padding: 28px 28px 0; box-shadow: 0 24px 70px rgba(20,24,0,0.35);
}
.modal__close {
  position: absolute; top: 8px; right: 8px; width: 34px; height: 34px;
  border: none; border-radius: 50%; background: var(--orange); cursor: pointer; font-size: 0; z-index: 2;
}
.modal__close::before, .modal__close::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 2px; background: #fff;
}
.modal__close::before { transform: translate(-50%,-50%) rotate(45deg); }
.modal__close::after  { transform: translate(-50%,-50%) rotate(-45deg); }
.modal__close:hover { background: #e05900; }

.modal__img {
  width: 100%; background: #fff; border-radius: 14px; border: 1px solid #eee;
  padding: 10px; margin: 16px 0; aspect-ratio: 1/1; object-fit: contain;
}
.modal__title { font-size: 22px; font-weight: 900; color: #430000; }
.modal__sub  { font-size: 13px; font-weight: 700; color: var(--orange); letter-spacing: 0.04em; margin-bottom: 8px; }
.modal__volume { font-size: 15px; font-weight: 700; color: #430000; margin-bottom: 6px; }
.modal__desc { font-size: 13.5px; font-weight: 700; line-height: 1.9; color: #430000; margin-bottom: 28px; }

/* 商品価格ブロック（¥金額以外は小さめ） */
.modal__price { margin: 2px 0 24px; }
.modal__price-row { display: flex; align-items: baseline; gap: 8px; color: #430000; font-weight: 700; }
.modal__price-row + .modal__price-row { margin-top: 8px; }
.modal__price-unit { font-size: 15px; }
.modal__price-yen { font-size: 24px; font-weight: 900; line-height: 1; margin-left: -3px;}
.modal__price-tax { font-size: 11px; color: #430000; margin-left: -13px; font-weight: 900;}

.modal__shop {
  background: var(--cream); margin: 16px -28px 0; padding: 28px 28px 36px;
  border-radius: 0 0 18px 18px; text-align: center;
}
.modal__shop-label { font-family: 'Roboto', sans-serif; font-size: 12px; letter-spacing: 0.15em; font-weight: 700; color: var(--orange); }
.modal__shop-title { font-size: 20px; font-weight: 900; color: #430000; margin: 2px 0 18px; }

.shop-btns { display: flex; flex-direction: column; gap: 12px; }
.shop-btn {
  display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--green); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 1.5px;
  padding: 16px; border-radius: 999px; transition: filter 0.2s;
}
.shop-btn:hover { filter: brightness(1.08); }
.shop-btn::after {
  content: ""; position: absolute; right: 20px; width: 18px; height: 18px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* ============================================================
   ショップリストモーダル（ONLINE SHOP 押下時）
   ============================================================ */
.shop-overlay {
  position: fixed; inset: 0; z-index: 2100; display: none;
  align-items: center; justify-content: center;
  background: rgba(20,24,0,0.55); padding: 20px;
}
.shop-overlay.is-open { display: flex; }
.shop-modal {
  position: relative; width: 100%; max-width: 400px; max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: 26px; padding: 40px 34px 30px; text-align: center;
  box-shadow: 0 24px 70px rgba(67,0,0,0.3);
}
.shop-modal__label { font-size: 13px; letter-spacing: 0.2em; font-weight: 900; color: #430000; }
.shop-modal__title { font-size: 26px; letter-spacing: 0.12em; font-weight: 900; color: #430000; margin: 6px 0 26px; }
.shop-modal .shop-btns { gap: 14px; margin-bottom: 26px; }
.shop-modal__close {
  display: inline-flex; flex-direction: column; align-items: center; gap: 4px;
  background: none; border: none; cursor: pointer; color: #430000; padding: 6px 10px;
  font-family: inherit;
}
.shop-modal__close-x { font-size: 22px; line-height: 1; font-weight: 700; }
.shop-modal__close-text { font-size: 12px; letter-spacing: 0.22em; font-weight: 900; }
.shop-modal__close:hover { opacity: 0.7; }
